package com.chen.base.convert;

import com.chen.root.oclass.dto.UserInfoDTO;
import com.chen.root.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author ChenJinLong
 */
@Mapper
public interface BeanConvert {

    BeanConvert INSTANCE = Mappers.getMapper(BeanConvert.class);

    /** user转换 */
    UserInfoDTO convert(AuthUser authUser);

}